SOURCES = main.cpp hash.cpp log_compression.cpp debug.cpp
PROGRAM = test
INCLUDE = -I/home/work/df-lib/compressor/include -I/home/work/df-lib/include -I/home/work/ul-lib/include
INCLIB = -L/home/work/df-lib/lib -L/home/work/ul-lib/lib -L/home/work/yuhuang/stdlib_tool
# -L/home/work/df-lib/compressor/lib
LDLIBS = $(INCLIB) -ldflib -lullib -lpthread -ldl

GCC_CFLAGS = -s -Wall -O3 -fomit-frame-pointer -g
#GCC_CFLAGS = -s -Wall -O0 -g
    
gcc:
	g++ -o $(PROGRAM) $(SOURCES) $(CPPFLAGS) $(INCLUDE) $(LDLIBS) $(GCC_CFLAGS)
cc:
	cc $(CPPFLAGS) -o $(PROGRAM) $(SOURCES)

